-- cleanup_tent
-- create by wangy
-- 附加属性：清剿帐篷数量显示

return {
    apply = function(prop, baseValue)
        -- 数量
        return prop[3];
    end,

    desc = function(prop)
        local row = PropM.getRow(prop[1]);
        local desc = row.desc;
        local kill_num = DungeonServiceM.queryDungeonAttrib("third_hand_exp");

        desc = string.gsub(desc, "{0}", tonumber(kill_num));
        desc = string.gsub(desc, "{1}", prop[3]);

        return desc;
    end,

    record = function(target, prop, path)
        return false;
    end
};
